import {
  observable,
  action,
} from 'mobx'

class Store {
  @observable todos = [
    {
      title: "任务1",
      done: false
    },
    {
      title: "任务2",
      done: false
    },
  ]

  @observable count = 0

  @action add = () => {
    this.count++
  }
}

export default Store
